package com.gugee.common.task.dal.mapper;

import com.gugee.common.mapper.GugeeMapper;
import com.gugee.common.task.model.TaskRecord;
import org.apache.ibatis.annotations.Select;

/**
 * 评论mapper
 * @author  luolf
 */
public interface TaskRecordMapper extends GugeeMapper<TaskRecord> {
    /**
     * 根据taskType 查询
     * @param taskType 任务类型
     * @return
     */
    @Select("select *  from task_record where task_type = #{taskType}")
    TaskRecord findByTaskType(int taskType);
}